package com.huirui.server.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@Schema(description = "轮播图VO对象，用于展示首页轮播图信息")
public class CarouselVo {

    @Schema(description = "轮播图唯一标识ID")
    private Long id;

    @Schema(description = "轮播图类型（例如：1-商品轮播，2-活动轮播，3-公告轮播等）")
    private Integer type;

    @Schema(description = "轮播图值")
    private Long linkValue;

    @Schema(description = "轮播图展示标题")
    private String title;

    @Schema(description = "关联商品名称（若轮播图类型为商品时有效）")
    private String productName;

    @Schema(description = "关联商品ID（若轮播图类型为商品时有效）")
    private Long productId;

    @Schema(description = "轮播图图片URL地址")
    private String carouselImage;

    @Schema(description = "轮播图状态（0-禁用，1-启用）")
    private Integer status;

    @Schema(description = "轮播排序序号（数值越小越靠前展示）")
    private Integer sort;
}